package com.zuipin.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zuipin.entity.product.OverallEvaluation;
import com.zuipin.mapper.OverallEvaluationMapper;
import com.zuipin.service.IOverallEvaluationService;

/**
 * 整体评价业务类实现
 *
 * @ClassName OverallEvaluationServiceImpl 
 * @author wangcongyi
 * @date 2017年7月4日 下午4:59:49
 */
@Service
public class OverallEvaluationServiceImpl implements IOverallEvaluationService {
    
	@Resource
	private OverallEvaluationMapper overallEvaluationMapper;
	
	@Override
	public int deleteByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(OverallEvaluation record) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.insert(record);
	}

	@Override
	public int insertSelective(OverallEvaluation record) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.insertSelective(record);
	}

	@Override
	public OverallEvaluation selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(OverallEvaluation record) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(OverallEvaluation record) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.updateByPrimaryKey(record);
	}

	@Override
	public OverallEvaluation getOverallEval(OverallEvaluation overall) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.getOverallEval(overall);
	}

	@Override
	public boolean modifyState(OverallEvaluation overall) {
		// TODO Auto-generated method stub
		return overallEvaluationMapper.modifyState(overall);
	}

}
